My Real short STORY: How all freshers got job in 5 months in software field as a developer or tester. I included all the guidelines in the book “IT Jobs made Easy for freshers” published on Amazon One thing that has always unsettled me is how fresh graduates struggle to get a job. Whenever I […]
50 Tricky Java MCQs – Check if you can answer
JAVA MCQ BRAIN TEASER: Uniquely crafted from hundreds of real face-to-face interviews. Discover your true skills and gain confidence Today. IMPORTANT 1) If you know the basic concepts, you’ll be able to answer or else you need a serious improvement for your career growth. 2) Answer each question with reasons to get maximum benefits. Start […]
BIG-O NOTATIONS
Big-O notations are used to represent Space or Time complexities of algorithms. There are more notations such as Theta and Omega. But we’ll restrict the discussion to the frequently used Big-O notation. Here are some terminology and complexity in Big-O notations you should keep in mind. BIG-O NOTATIONS – GRAPHICAL – YOU ALREADY KNOW IT […]
Time complexity of linear search
The time complexity of linear search is O(n). In the best case its time complexity is O (1). In the linear search, you search an element in a list sequentially until you find that element. For example, Suppose you want to find the element 2 in the given list below. You have to traverse the […]
Time complexity of for loop – O(1) O(n) and O(log n)
Time complexity of for loop can be anything O(1), O(n), O(log n) depending upon the loop conditions and code you write. Time complexity of for loop with various scenarios. a) Every time you run this loop; it will run 10 times. In other word, this for loop takes constant time. So, the time complexity will […]
How to measure method execution time in java
You can measure method execution time in java using the method System.nanoTime() or System.currentTimeMillis(). Put this method before and after the method or piece of code for which you want to measure the running time. Find the difference of the time you got before and after your code. The difference is the running time. Method […]
Free PDF: ALL OOPs Concepts Using Java with 1 Tiny Program – Explained!
Learn OOPs concepts using Java with 1 real-life program example. You can also DOWNLOAD pdf FREE! ALL oops features used in this program are explained.
Love your career growth? 2 Impacting Books for you
OOP Concepts Booster Do you want to master OOP Concepts using Java up to deep level, even it takes Years of Experience? Read More… How IT Jobs Made Easy for Freshers Do you want to Get your Job Faster On-Campus or Off-Campus with Experimented Tips & Strategies? Read More…How it’s possible Author: Rakesh Singh I’m […]
Creating Class and methods – Java OOP Exercise
Java OOP exercise to learn how to create class and methods by reading requirements. Exercise-1: Create a class Dog, that has 3 properties (class fields) breed, age and colour with behaviours (class method) bark and sleep. Exercise-2: There is a car, which has attributes model and price, and the car has functionalities start, stop and […]
Check Your Java OOPs Concepts Skills and Master it Quickly
Did you finish learning Java OOPs Concepts? Check your level with tricky Coding & Conceptual OOP questions – Master and Get Ready for writing industry-level application in no time with the book OOP Concepts Booster! (Try these 5 Coding and 15 Conceptual Questions!) Coding OOP Questions: Q-1) Below is a bank user account class. The […]