- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Prabhas has Published 78 Articles
Prabhas
47 Views
Use the oncanplaythrough attribute to execute a script when a file can be played all the way to the end without pausing for buffering in HTML.ExampleYou can try to run the following code to implement oncanplaythrough attribute − ... Read More
Prabhas
80 Views
Use the ondragover attribute in HTML to execute a script when the element is being dragged in HTML.ExampleYou can try to run the following code to implement the ondragover attribute − .drag { float : ... Read More
Prabhas
6K+ Views
Use the tag to create a progress bar in HTML. The HTML tag specifies a completion progress of a task. It is displayed as a progress bar. The value of progress bar can be manipulated by JavaScript.The following are the attributes −AttributeValueDescriptionmax maxIt should have a value greater ... Read More
Prabhas
401 Views
You can try this method to convert time to date and hour format −select to_varchar(time, 'YYYY-MM-DD'), hour(time), sum(r_time) as r_time, sum(p_time) as p_time from t1 group by date(time), hour(time) order by to_varchar(time, 'YYYY-MM-DD'), hour(time);You can also try using Series_Round() with a group by clause.select SERIES_ROUND(time, 'INTERVAL 1 HOUR') as time, ... Read More
Prabhas
5K+ Views
Yes, use String.split() method to do it. See the example below −Examplepublic class Tester { public static void main(String[] args) { String text = "This,is,a,comma,seperated,string."; String[] array = text.split(","); for(String value:array) { System.out.print(value + " "); } } }OutputThis is a comma seperated string.
Prabhas
2K+ Views
An object is created from a class using the new keyword. There are three steps when creating an object from a class −Declaration − A variable declaration with a variable name with an object type.Instantiation − The 'new' keyword is used to create the object.Initialization − The 'new' keyword is ... Read More
Prabhas
515 Views
KeywordsKeywords in Java convey a special meaning to the compiler therefore, these cannot be used as identifiers. Java provides a set of 50 keywords.abstractcontinuefornewswitchassertdefaultgotopackagesynchronizedbooleandoifprivatethisbreakdoubleimplementsprotectedthrowbyteelseimportpublicthrowscaseenuminstanceofreturntransientcatchextendsintshorttrycharfinallongstrictfpvolatileconstfloatnativesuperwhileReserved wordsAmong the list of key words list mentioned above the key words goto and const are currently not in use. They are reserved words (for the ... Read More
Prabhas
239 Views
Java Virtual machine is the program which accepts .class files as input and converts this to system executable code.The class loader is a module in JVM it loads, links and, initialize a program.Loads the class into the memory.Verifies the byte code instructions.Allocates memory for the program.Read More
Prabhas
1K+ Views
Sometimes we need to identify the unmatched data from two tables, especially in the case when data is migrated. It can be done by comparing the tables. Consider the example below in which we have two tables named ‘students’ and ‘student1’.mysql> Select * from students; +--------+--------+----------+ | RollNo | Name ... Read More