Nancy Den has Published 335 Articles

How to add elements to AbstractList class in Java?

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

226 Views

To add elements to AbstractList class, the add() method is provided by the AbstractList class. The elemnt gets appended at the end of the list.The syntax is as follows:public boolean add(E ele)Here, the parameter ele is an element to be appended to this listTo work with the AbstractList class, import ... Read More

Find objects between two dates in MongoDB?

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:25

3K+ Views

Use operator $gte and $lt to find objects between two dates in MongoDB. To understand these operators, let us create a collection.Creating a collection here:>db.order.insert({"OrderId":1, "OrderAddrees":"US", "OrderDateTime":ISODate("2019-02-19")}; WriteResult({ "nInserted" : 1 }) >db.order.insert({"OrderId":2, "OrderAddrees":"UK", "OrderDateTime":ISODate("2019-02-26")}; WriteResult({ "nInserted" : 1 })Display all documents from the collection with the help of ... Read More

HTML5 applicationCache vs Browser Cache

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:22

262 Views

HTML5 applicationCacheIt can be understood by an example that a web application is cached, and accessible without a connected internet. Application cache has some advantages: users can use the application when they're offline, cached resources load faster and reduced server load. Browser cache Web browsers use caching to store HTML web pages by ... Read More

Top 10 websites for Advanced level Java developers

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:21

444 Views

There are many sites which are a good resource for java interview questions-answers. Following is the list of most popular websites.Tutorialspoint - www.tutorialspoint.comStackOverflow - www.stackoverflow.comDZone - www.dzone.comWikipedia - www.wikipedia.orgIBM Developer Works - www.ibm.com/developerworks/java/TechGig - www.techgig.comGitHub - www.github.comJava documentation - docs.oracle.com/javase/Coursera - www.coursera.org/JavaWorld - www.javaworld.com/Read More

ABAP constants with %_ as prefix

Nancy Den

Nancy Den

Updated on 30-Jul-2019 22:30:20

203 Views

The constants with a value of %_ as prefix are defined in ABAP for its internal use of the system. These needs to be used as such and cannot be modified by the user.

Advertisements