Stack – Array and Linked List Implementations
From now, I am going blog about some common data structures and algorithms you need to know if you are even in the thought of pursuing a career in software engineering. This blog post is about Stack. I will first show how to implement Stack using Arrays and then using Linked lists. I will use […]
Day 9 – Enum
We can use enum to define a group of named constants. The main purpose of “enum” is to define our own data types. It is introduced in 1.5v. Internally its implemented by using class concept. Every enum constant is public, static and final. For example, enum Beer { KF,RC; } is internally implemented by class […]

Day 8 – Wrapper Classes
Wrapper classes has two purposes To wrap primitive into object form, so that we can handle them just like objects to provide several utility methods which are required for primitives. Constructors Almost all wrapper classes contains two constructors, one to take primitive as argument and other to take String as argument. Eg: Integer I […]
Day 7 – Object, String, StringBuffer.
Today I learned about Object class, String, StringBuffer, StringBuilder. Object class: The most common methods which are applicable for any java object are defined in Object class, it acts as root for all java classes. There are 11 methods in Object class, I am going to explain about some. 1. toString(): We use this method […]

Day 6 – Operators
Today I am done with Operators. 1.Increment and Decrement Operator This one is most confused of operators , see the table below to get some idea We can apply Increment/Decrement operators only to variables, we cannot apply them to values. Nesting of Increment/Decrement operators are also not allowed. We cannot apply Increment/Decrement operators to final […]

Day 5 – Collections Framework
Today is about Collection , this is a huge topic so it would be impossible to explain every thing, I will post as many examples as possible Difference between Collection and Collections Collection is an interface which can be used to represent a group of individual objects as single entity whereas Collections is an utility class […]
Day 4 – java File I/O
Today I studied about File io in java File FileWriter FileReaderBufferedReader PrintWriter File Class Constructors 1 .File f = new File (String name); This command wont create any new physical file, first it checks whether any file with same name exists. If it finds any then “f” points to that file and if no file exists […]
Day 3 – Interfaces,Flow Control
We have come to day 3rd of our 25 days plan and today I am done with Interfaces and Flow control. Interface : This concept is small and simple. Here’s some points to keep in mind for interfaces Every method present inside an interface is always public and abstract so we cannot declare methods with […]
Day2 – Modifiers in Java
Today is a pretty busy day so all I learned is about Import statement Java Packages Class Access Modifiers Public private Protected Class Modifiers(Non – access) strictfp transient final abstract static native synchronized volatile All the topics today I am done are easy,only some are a bit confusing, I will cover only worthwhile points here. […]

Learn with me OCJP syllabus in 25 days
Hello guys , sorry for not updating about OCJP these days ….. I wasn’t able to study daily as I was bit busy with my final year project and some other reasons and this isn’t the place to discuss why I wasn’t able to study .. This post is to tell you that from today […]
Recent Comments