4982 2
Pyramid Triangle pattern programs in Java with explanation
This article gives you code to print different types of pyramids in Java and explains the code, which helps you clear you concepts of programming in java.
Type
Article
Java print pyramid in java java8
873 0
How to compare Strings in Java?
This article explains how can we compare string in Java and give brief insights with an example about various string functions in Java programming language.
Type
Article
java string comparison java-string-compare comparing-strings-in-java
825 0
Servlet in Java with example (Saving form data in database using servlet)
In this article, I will explain about Servlet briefly & will save data in database from HTML form using Servlet
Type
Article
Java J2EE form-fields servlets insert-data-in-database servlets-in-java
772 0
Java program to reverse a string (Different ways explained)
In this article, I will provide working code examples of various ways to reverse a string in Java with explanation of code.
Type
Article
Java reverse string program
759 0
Difference between HashMap and Hashtable in Java
This article gives details about the difference between HashMap and Hashtable in Java with an example & let you know which is more efficient.
Type
Article
Java Hashmap Hashtable difference

512 0
Leap year program in Java (multiple ways)
In this article, I will provide you code to create leap year program in java in various possible ways with code explanation.
Type
Article
Java leap year program program for leap year
477 1
500 Internal Server Error when calling .NET web service from android in Java

When i'm trying to invoke my web service(in.NET asmx) from Android Java ... I'm getting

this error ->  500 Internal Server Error.

              -> Response{protocol=http/1.1, code=500, message=Internal Server Error, url=http://example.in/webservice/login.asmx}

 

here is my Login Activity..

...
Type
Question
Java Internal-server-error-500 web-service-call
351 1
How to convert InputStream to a string in Java?

Suppose I have a have java.io.InputStream object, how should I process that object and produce a String from it in java?

I would need a function which reads InputStream and output it as a String

thanks

...
Type
Question
java InputStream java.io string
345 1
Sorted Single Linked List in java

I am very new to Java and have been assigned to implement a few methods:

1. add (T newValue) ---> add an entry to a sorted list requires that you find the right position the new entry belongs (ascending order).

ex:

...
Type
Question
Java SingleLinkedList
321 1
Which is the best method to iterate through the hashmap in java?

I have an object with Map interface in java, so i would like to know which is the best way to iterate over the items in a HashMap?

Explain in more details if possible, thanks

...
Type
Question
java hashmap collections lopping hashmap in java different ways of iterating hashmap

Page 1 of 2