When one thinks of cloning, we think of duplication that is more or less the exact same copy. Java cloning can be different depending on the type of clone. To use the clone() method, interface Cloneable must be implemented. An exception called CloneNotSupportedException is thrown to indicate that the clone method in class Object has …
Category Archives: Uncategorized
Java 101 Interview Questions
If you’re like me, you’re looking to get into Java development. But to leap across that hurdle, you need to be prepared for when your interviewer asks you any questions! Here’s 21 basic Java questions that any Java developer should be able to answer: What is Java? What do objects have in common? What are …
Java Basics: If Statements
If statements are a cornerstone of programming, even outside of Java such as C++ or other languages. An If statement proposes a possibility, a noticed change in the running program, whether it’s how to treat different inputs with output, different ways to handle changing data, etc. There are several different kinds of if statements that …
GitHub: Usage and Commitment
GitHub is one of many different repositories: BitBucket, GitKraken, and more! But to use a repository service is to host a collection of files that act together as one cohesive project. Today I am going to show you how my GitHub was made! First, you must make an account. There are various features and perks …
Java Basics: Inheritance
Inheritance is a cornerstone of Java development, in the forms of abstract classes and interfaces. An abstract class isn’t concrete: it’s an idea to be drawn upon by extending classes. As plants draw upon sunlight to use photosynthesis, we can use an abstract class to create extended classes. With our abstract class, all extending classes …
Java Basics: HashMaps
A hashmap is unique in that it’s similar to an array, but is made up of pairs of data: keys and values. Hashing converts large Strings to small Strings that represent the same String. The hashmaps keys and values can even be more than Strings – you could work with any pairing! For this example …
Java Basics: Arrays
I think it would be a tragic statement of the universe if Java was the last language that swept through. — James Gosling, founder of Java programming language. A Java array is typically a collection of same data types which have a united memory location. We can store only a fixed set of data types …
Introduce Yourself (Example Post)
To introduce myself, I am Omran Losinno. I am an individual man who has several accomplishments: I graduated from Penn State University with a Bachelor’s Degree in Informational Sciences & Technologies. I worked with multiple hospital networks to successfully integrate EPIC software systems, a new and comprehensive software system that covers all aspects of hospital …