Skip to toolbar

Basic Java – 21 || Stack memory and Heap memory in Java.

Stack memory and Heap memory are the two important components of JVM. Whenever a program execution starts JVM allocates memory to all the class, object, methods, variables. Stack Memory Basically used for thread execution. It works in LIFO (Last in First Out) manner. As soon as any method encountered JVM allocates memory to the primitiveRead More

Basic Java – 20 || Sending Email with attachment using Java (Part-2).

In the last chapter, we have learned sending email using Java. In this chapter, we will go a little in-depth and will learn a few important things like multiple recipients, attachments, marking cc or bcc, etc. Key Highlights in this chapter Single recipient or email id for To field message.setRecipient(RecipientType.TO, new InternetAddress(recieverID)); Multiple recipients orRead More

Basic Java – 19 || Sending Email using Java (Part-1).

After the successful execution of any program or tool, it is better to share status or report via sending email to the stakeholders. This objective can be achieved by javax.mail package. javax is an extended version of Java which contains many sub-packages to give additional features to Java language. One of the most important featuresRead More

Basic Java – 18 || Difference between break and continue keywords.

Both break and continue are the reserved keywords in java. These are mainly used while using switch or loops in the program. break and continue In the above image, we can see the difference between these two keywords. When we are using a break keyword it exits from the current loop or a switch blockRead More

Basic Java – 17 || Runtime User Input using Console Class (Part-3).

There is also a third way to take user input via using Console class. This method helps a user to take inputs via Command Prompt. Before proceeding further, I would request you to please read the first two parts of this tutorial. Basic Java – 15 || Runtime User Input using Scanner Class (Part-1). BasicRead More

Basic Java – 16 || Runtime User Input using BufferedReader Class (Part-2).

An alternate method to take user input is BufferedReader class. Unlike Scanner class, BufferedReader is fast and simple. If you don’t have read about Scanner Class, would request you to please have a look and understanding of Scanner Class, please visit the previous chapter: Basic Java – 15 || Runtime User Input using Scanner Class (Part-1).Read More

Basic Java – 15 || Runtime User Input using Scanner Class (Part-1).

Scanner Class is the commonly used way of taking user inputs. There are many instances where user interaction is needed at runtime during the Program execution. Scanner Class It can be used via java.util.Scanner library files. There is a major role of Whitespace and Enter while taking user inputs using Scanner class. These user inputsRead More

Basic Java – 14 || Learn about String literals in Java.

A String is a class used to declare and initialize the string literals. These string literals are basically the group of characters. In general, strings are immutable. It means each time we perform any modification in the existing String object or variable it creates a new object and allocates new memory. String declaration and InitializationRead More

Basic Java – 13 || Decimal values v/s Octal base(8) values in JAVA.

Any numeric value which fulfills below conditions would be treated as octal base(8) values: Should have three or more digits Should start with 0 Octal base number system The octal number system is like a binary number system having the base of 8. It works on 0-7 digits values. Example of Octal numbers, 010, 011,Read More

Site Statistics

  • Users online: 0 
  • Visitors today : 6
  • Page views today : 8
  • Total visitors : 49,353
  • Total page view: 67,932

   YouTube ChannelQuora

            Ashok Kumar is working in an IT Company as a QA Consultant. He has started his career as a Test Trainee in manual testing in August 2010. Then he moves towards the automation testing after 4 years. He started learning JAVA and Selenium by self to get the knowledge of automation.

       While learning these tools and working on multiple projects, he found that sometimes people get stuck in live scenarios in their project and they have to do lots of RnD to get out of it. So he decided to start blogging only for such scenarios, where anyone facing any problem in their project, can ask any question or give a solution or you can say an alternate solution to achieve the goal successfully.

Later on, he observed that some people want to learn Java but they have few questions in their mind like how to start Java, whether we should go for the online or offline course. So he started writing tutorials on Java, Jira, Selenium, Excel etc.