Home Answers Viewqa Java-Beginners Java Beginners Question and Answers


Java BeginnersAsk Questions?
Latest Questions for Java Beginners
swap two integer arrays
int [] array1 = {1,2,3,4,5} int [] array2 = {6,7,8,9,10} how can we swap the values of bith integer arrays results like this array1 = {6,7,8,9,10} array2 = {1,2,3,4,5}
July 17, 2018 at 8:18 AM

kibana specify elasticsearch url
Hi, I have to connect to elasticsearch running on remote host from kibana application. What configuration changes needs to be done in kibana for this? How we can modify kibana configuration to specify elasticsearch url?
July 5, 2018 at 7:59 AM

Unable to locate package openjdk-11-jdk
Hi, I want to install open jdk 11 on ubuntu with the following command: sudo apt install openjdk-11-jdk But its throwing error: [email protected]:~$ sudo apt install openjdk-11-jdk Readi
June 29, 2018 at 11:45 PM

installing jdk 10 on windows 10
Hi, I have checked and found that Java 10 is released. Now looking for more information on JDK 10. I want to installing jdk 10 on windows 10. How to do it and configure it? Thanks
June 19, 2018 at 4:07 AM

How can one master the Spring framework in Java
Hi, How one can learn and master famous spring framework in Java? How can one master the Spring framework in Java? Almost all the IT Jobs involving Java required Spring framework in one or other way. I have seen many jobs on the Jo
June 14, 2018 at 12:03 PM

What is the best site for advanced Java programming
Hi, I am beginner in Java programming language. I have learned Java programming from a book and its difficult to type all the code of book and try. Now I am looking for best Java tutorials in Advanced Java programming so that learn
June 14, 2018 at 11:32 AM

list of all months between two dates in java
Hi, I want to get list of all months with year between two dates. How to do this in Java? Thanks
May 16, 2018 at 6:43 AM

java programming
Companies and people often buy and sell stocks. Often they buy the same stock for different prices at different times. Say a person owns 1000 shares a certain stock (such as Checkpoint) she may have bought the stock in amounts of 100 shares over
May 11, 2018 at 3:25 PM

Java Hashmap
Java code for below: Any help is appriciated A text file consisting of output of (vid, cid) pairs is given. Suppose that vid is a 6-digit integer and cid is a 3-digit integer. Implement the following methods for a cl
May 7, 2018 at 12:44 PM

To write a java prograam to create a employee class, full time employee class, part time employee class using inheritance
April 12, 2018 at 5:06 AM

How would I get this linked list in alphabetical order?
import java.io.*; import java.util.Scanner; public class LinkedList2 { public LinkedListNode head; String fname; public static void main(String[] args) throws FileNotFoundException{ Scanner scan = ne
March 25, 2018 at 1:01 PM

selenium webdriver get page html
Hi, I am working on a project to test web application. There is requirement to get the full content of page as HMTL. How to get page html in selenium webdriver? Thanks
March 25, 2018 at 5:48 AM

single ton
we can call non static method from singleton class.
March 24, 2018 at 12:35 PM

solr 7.2.1 maven dependency
Hi, What is solr 7.2.1 maven dependency? Thanks
March 14, 2018 at 1:56 AM

Library corruption error during apt-get update
Hi, I am installing Jdk on Ubuntu 16.04. When i run the command: sudo apt-get update it throws following error: `appstreamcli': double free or corruption
February 24, 2018 at 10:21 PM

E: Unable to locate package oracle-java8-installer
Hi, I am trying to install with following command on Ubuntu 17.04: sudo apt-get install oracle-java8-installer It gives following error: E: Unable to locate pack
February 22, 2018 at 7:26 PM

I want to learn Java programming language online
Hi, I have decided to make career in IT industry. I want to learn Java programming language online from best tutorials online. What are the best Java tutorials for beginners to learn it online from beginning? Thanks
February 12, 2018 at 10:01 AM

How to convert date to string in Java in yyyy-mm-dd format
Hi, I need simple Java program in which we have a date object and it should be converted to String in yyyy-mm-dd format. How to convert date to string in Java in yyyy-mm-dd format? Thanks
February 9, 2018 at 8:32 PM

How to convert date to string in Java?
Hello developers, I have java.util.Date object and it has to be converted to date format. How to convert date to string in Java? Thanks
February 9, 2018 at 7:57 PM

Hi, What is java.io.FileNotFoundException error? How to resolve the error java.io.FileNotFoundException? Thanks
February 7, 2018 at 10:46 AM

View all discussion for Java Beginners