A Concise Introduction to Data Structures using Java
eBook - ePub

A Concise Introduction to Data Structures using Java

Mark J. Johnson

  1. 236 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

A Concise Introduction to Data Structures using Java

Mark J. Johnson

Book details
Book preview
Table of contents
Citations

About This Book

A student-friendly text, A Concise Introduction to Data Structures Using Java takes a developmental approach, starting with simpler concepts first and then building toward greater complexity. Important topics, such as linked lists, are introduced gradually and revisited with increasing depth. More code and guidance are provided at the beginning, al

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is A Concise Introduction to Data Structures using Java an online PDF/ePUB?
Yes, you can access A Concise Introduction to Data Structures using Java by Mark J. Johnson in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Games. We have over one million books available in our catalogue for you to explore.

Information

Year
2013
ISBN
9781498759816
Edition
1
Chapter 1

A Brief Introduction to Java

Before beginning our study of data structures, we take a quick tour of the main features of the Java programming language. More advanced features of Java will then be introduced as they are needed. This chapter assumes that you have some programming experience but not necessarily in Java.
A current Java Development Kit (JDK) is required to develop software in Java. All of the examples in this text were written using Java SE 7.

1.1 Basics

We begin with an example that computes factorials in Listing 1.1.
Listing 1.1: Factorial
 1 public class NumericFunctions {
 2 public static int factorial(int n) {
 3 int result = 1;
 4 for (int i = 2; i <= n; i++) {
 5 result *= i;
 6 }
 7 return result;
 8}
 9
10 public static void main(String[] args) {
11 for (int n = 1; n <= 10; n++) {
12 System.out.print(n);
13 System.out.print(" ");
14 System.out.println(factorial(n));
15 }
16}
17}
Although this is a short program, it illustrates a number of features of the Java language. This section is therefore a bit longer than most, so donā€™t necessarily try to remember everything on first reading. Instead, notice what is here, pay attention to things that are different from what you expected, and plan to refer back to this section as questions arise.
The Java Tutorial [13] is a good resource for learning Java, as is The Java Programming Language [1]. The authoritative Java reference is the Java Language ...

Table of contents

Citation styles for A Concise Introduction to Data Structures using Java

APA 6 Citation

Johnson, M. (2013). A Concise Introduction to Data Structures using Java (1st ed.). CRC Press. Retrieved from https://www.perlego.com/book/1475611/a-concise-introduction-to-data-structures-using-java-pdf (Original work published 2013)

Chicago Citation

Johnson, Mark. (2013) 2013. A Concise Introduction to Data Structures Using Java. 1st ed. CRC Press. https://www.perlego.com/book/1475611/a-concise-introduction-to-data-structures-using-java-pdf.

Harvard Citation

Johnson, M. (2013) A Concise Introduction to Data Structures using Java. 1st edn. CRC Press. Available at: https://www.perlego.com/book/1475611/a-concise-introduction-to-data-structures-using-java-pdf (Accessed: 14 October 2022).

MLA 7 Citation

Johnson, Mark. A Concise Introduction to Data Structures Using Java. 1st ed. CRC Press, 2013. Web. 14 Oct. 2022.