Category: Blogs

Learn Java Typecast through simple programs

Hi friend, This blog will help to better understanding of typecasting of datatypes in Java. PROGRAM: public class TypeCasting { public static void main(String[] args) { int a = 140; byte b =(byte) a; System.out.println(b); } } OUTPUT : -116 EXPLANATION: This type of type casting will have loss of data. Lets see how 140 […]

Read More

Addition of Consecutive Digits in a given Number Program

Addition of Consecutive Digits in a given Number Program In this blog we are going to discuss about Addition of Consecutive Digits in a given Number Program . They are illustrated very well below : ______________________________________________________________________________________ Hi, In this post, we are going to discuss Addition of Consecutive Digits in a given Number program. Add numbers […]

Read More

Alphabet in ZigZag Pattern with Answer

Hi Friend, Today we can see about how alphabets can be displayed in ZigZag pattern using array method in Java. Here i made it in 5 row. It can be done simple decision making concept. The first understanding of this pattern program is the characters can be printed in row by row manner. So firt […]

Read More

Mainframe Interview Questions with Answers – Part I

Mainframe Interview Questions with Answers – Part I  This blog explains about Mainframe Interview Questions with Answers – Part I . It is illustrated below .  _____________________________________________________________________________________ Hi, This is Geetha.  I have 11 years of experience in IT Industry.  Mainly I spent my time in Mainframes and team management.  Here, I started sharing Mainframe Interview […]

Read More

W Pattern Programming Questions in Java

W Pattern Programming Questions in Java This blog explains about W Pattern Programming Questions in Java . It is explained very well below : ______________________________________________________________________________________ Here, we are implementing a java program that will print a pattern like ‘W’ alphabet using stars. It is a pattern printing program in java. Given number of rows for pattern and […]

Read More

CanGo Networks – Interview Questions with Answers

In this post, we will discuss about CanGo Networks – Interview Questions with Answers. 1) What is the output for the below code snippet? public class CanGo { int a = 1111; static { a—–a; } static { a+++++a; } public static void main(String[] args) { System.out.println(a); } } Output: Will throw Compilation error saying […]

Read More

Software Testing – What I should focus?

This is the primary question – in Software Testing – What I should focus? for everybody who enters into Software Testing.  Here with, I have mentioned some of the major things which should be given enough importance while testing software. Files Related Testing: If we test downloading a File, We should test Special Characters in […]

Read More

Adding two byte/short values cannot store in same datatype

Hi Friends, Today we going to see about reason why two byte/short cannot be store in same datatype. In general, the value assign to variable can be convert into binary format. byte a = 5; byte b = 4; byte c = a + b; The line 3 will have compile error, even though the […]

Read More

Software Testing Interview Scenario Based Questions

Hi, we will discuss about various Software Testing Interview Scenario based questions here with.  In every software testing interview, the candidates will be requested to write test cases.  Usually, organizations will ask us write scenarios for which we know the functionality already. Eg.  Write test cases for pen, Please share test cases for a chair, […]

Read More

Data Types: Storing character in integer and vice versa with Program

Data Types: Storing character in integer and vice versa with Program This blog explains about Data Types: Storing character in integer and vice versa with Program and is given below : _______________________________________________________________________________ Hi Friends, Today, we are going to see about how to Data Types: Storing character in integer and vice versa with Program  store character […]

Read More