Skip to content
sneppets

sneppets

  • Privacy
docker tutorials

What is the difference between CMD and ENTRYPOINT in Dockerfile ?

July 27, 2020July 28, 2020 Editorial StaffLeave a Comment on What is the difference between CMD and ENTRYPOINT in Dockerfile ?

This tutorial explains you the difference between CMD and ENTRYPOINT commands usage in Dockerfile. You will also learn when to use CMD instead of ENTRYPOINT for your docker containers.

cloud, docker cmd, commands, docker, Dockerfile, ENTRYPOINT
sneppets-java8

Compare two objects using equals() method of Object Class

July 25, 2020 Editorial StaffLeave a Comment on Compare two objects using equals() method of Object Class

This tutorial guides you on how to compare two objects using equals() method of Object class in Java. There is a class called “Object” in “java.lang” package which is the super class of all classes in java. Method equals() is… Read More!

Java class, compare, equals, java, methods, Object
sneppets-java8

Casting Primitive Data Types in Java

July 24, 2020July 27, 2020 Editorial StaffLeave a Comment on Casting Primitive Data Types in Java

This tutorial guides you on casting primitive data types in order to convert from one primitive data type to another primitive data type in Java. This can be achieved in two ways, widening and narrowing. 

Java casting, java, primitives
sneppets-java8

Casting Object Data Types in Java

July 23, 2020 Editorial StaffLeave a Comment on Casting Object Data Types in Java

This tutorial guides you on how to cast object data types in Java programming. In this tutorial you will learn how to convert sub class object to super class type and super class type in to sub class type by… Read More!

Java casting, java, Object, object-data-type, reference-data-types
sneppets-java8

Inheritance Java – Create object to subclass, but not to superclass ?

July 23, 2020July 23, 2020 Editorial StaffLeave a Comment on Inheritance Java – Create object to subclass, but not to superclass ?

This tutorial explains the reason for Inheritance in Java, why we create an object to subclass, but not to super class. Deriving new classes by extending the existing classes so that the new classes will have all the features of… Read More!

Java inheritance, java, subclass, superclass
Page 53 of 94« First‹ Prev525354Next ›Last »
Copyright © 2018 Sneppets. All Rights Reserved